modelit.layout.AbstractPainter (Abstract)
Extends: hgsetget & handle
An abstract painter. To be used as a decorator for modelit.layout.Frame
Properties
visible
Determines if the painter is visible.
Boolean: Default value: true
Methods
AbstractPainter
Modelit.ui.AbstractPainter constructor
CALL:
obj = modelit.ui.AbstractPainter(varargin)
INPUT:
varargin:
parameter-value pairs, see the component properties for a
description of the parameters and their values
getInsets
Get the painter insets
paint
Carry out the painting
isPainterChanged
Returns if one or more properties have been changed and the painter needs to be reinitialized
CALL:
value = isPainterChanged(obj)
INPUT:
obj:
modelit.ui.AbstractPainter
OUTPUT:
value:
boolean, true if one or more properties have been changed and the painter needs to be reinitialized
setPainterChanged
Set to true to indicate that one or more properties have been changed and the painter needs to be reinitialized
CALL:
obj = modelit.ui.AbstractPainter(varargin)
INPUT:
obj:
modelit.ui.AbstractPainter
value:
boolean, true if one or more properties have been changed and the painter needs to be reinitialized
OUTPUT:
No output